from ctypes import pointer
from osgeo import ogr
point = ogr.Geometry(ogr.wkbPoint)

point.AddPoint(119.5,35.5)
point.AddPoint(119.5,35.6) # 只保留最后一个
print(point.ExportToWkt())